<template>
	<view class="register text--center">
		<image src="../../static/success.png" mode="" class="success mgt58"></image>
		<view class="f18 white mt10">
			{{i18n.gmcc}}
		</view>
		
		<view class="f28 white mt30">
			-{{price}} USDT
		</view>
		<view class="f14 whitecolor complete mgt20" @click="gotoIndex">
			{{i18n.mgwc}}
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				nikeName:"",
				price:0
			}
		},
		computed:{
			i18n() {
				return this.$t('home');
			}
		},
		onLoad(options) {
			this.price=options.price
		},
		methods:{
			gotoIndex(){
				uni.reLaunch({
					url:"./index"
				})
			}
		}
	}
</script>

<style lang="less">
	.register{
		
		.success{
			display: block;
			width: 126rpx;
			height: 126rpx;
			margin-left: auto;
			margin-right: auto;
		}
		.complete {
			width: 628rpx;
			height: 90rpx;
			line-height: 90rpx;
			text-align: center;
			opacity: 1;
			background: #1372df;
			border-radius: 8rpx;
			margin: 90rpx auto;
		}
	}
</style>

